package com.oa.bean;

import java.util.List;

public class Privilege {
	private int privilegeid;//权限id
	private String name;//权限名称
	private String url;
	private int parent;//父权限的id
	private int children;//子类的id
	private List<Role> role;
	public int getPrivilegeid() {
		return privilegeid;
	}
	public void setPrivilegeid(int privilegeid) {
		this.privilegeid = privilegeid;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getUrl() {
		return url;
	}
	public void setUrl(String url) {
		this.url = url;
	}
	public int getParent() {
		return parent;
	}
	public void setPartent(int partent) {
		this.parent = partent;
	}
	public int getChildren() {
		return children;
	}
	public void setChildren(int children) {
		this.children = children;
	}
	public List<Role> getRole() {
		return role;
	}
	public void setRole(List<Role> role) {
		this.role = role;
	}
	public void setParent(int parent) {
		this.parent = parent;
	}
	
	
	
}
